#!/bin/bash

mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'sweetekhappy';"
mysql --user="root" --password="sweetekhappy" -e "SELECT user,authentication_string,plugin,host FROM mysql.user;"
sudo apt install php libapache2-mod-php php-mysql -y
sudo cp dir.conf /etc/apache2/mods-enabled/
apt show php-cli
sudo apt install php-cli -y
sudo apt install php-mbstring git -y
sudo apt-get install zip -y
curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
sudo cp info.php /var/www/html/
sudo systemctl restart apache2
sudo systemctl status apache2
